package com.server.common.utils.oss;

import java.util.Date;

/**
 * Created by draco on 14-4-24.
 */
public class OssObject {

    private String key;
    private String eTag;
    private long size;
    private Date lastModified;
    private String url;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
        this.url = "http://res.91books.kingwootec.com/"+key;
    }

    public String geteTag() {
        return eTag;
    }

    public void seteTag(String eTag) {
        this.eTag = eTag;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public Date getLastModified() {
        return lastModified;
    }

    public void setLastModified(Date lastModified) {
        this.lastModified = lastModified;
    }

    public String getUrl() {
        return url;
    }

}
